filechooserwidget: Delay view switch to search hits
authorTimm Bäder <tbaeder@redhat.com>
Mon, 29 Apr 2019 06:33:02 +0000 (08:33 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 30 Apr 2019 03:36:20 +0000 (05:36 +0200)
commit09cec2e6a124c34b3cdb7301d8d89e7b1991563a
tree27e5a695814d3c6a843e002c41a582798d90a14b
parentefed2641f444e92fd8e4d17c7456e9bb28c029a7
filechooserwidget: Delay view switch to search hits

Leave it to the ::hits-added handler to switch to the list of search
hits. This way we don't get a weird transition when the current search
didn't have any hits and the next one doesn't either.
Searches with hits still feel good.
gtk/gtkfilechooserwidget.c